// 路由路径常量
const HARDCODE_WEB = '/hardcode/web'
const HARDCODE_MWEB = '/hardcode/mweb'
const BLANK = '/blank'
const RENDER = '/render'
const ERROR404 = '/error404'
const SEARCH = '/search'
const PERSONAL_SETTINGS = '/personal-settings'
const LOGIN = '/hardcode/web/login'



export const ROUTES = {
  // 硬编码测试路径
  HARDCODE_WEB,
  HARDCODE_WEB_BLANK: `${HARDCODE_WEB}${BLANK}`,
  HARDCODE_WEB_RENDER: `${HARDCODE_WEB}${RENDER}`,
  HARDCODE_WEB_ERROR404: `${HARDCODE_WEB}${ERROR404}`,
  HARDCODE_WEB_PERSONAL_SETTINGS: `${HARDCODE_WEB}${PERSONAL_SETTINGS}`,
  HARDCODE_WEB_SEARCH: `${HARDCODE_MWEB}${SEARCH}`,
  HARDCODE_MWEB:HARDCODE_MWEB,

  // 子路径
  BLANK,
  SEARCH,
  RENDER,
  ERROR404,
  PERSONAL_SETTINGS,
  // 登录页面
  LOGIN
}

// 路由名称常量
export const ROUTE_NAMES = {
  PC_BLANK: 'pcBlank',
  PC_RENDER: 'pcRender',
  PC_ERROR404: 'pcError404',
  PC_PERSONAL_SETTINGS: 'pcPersonalSettings',
  LOGIN: 'login',
  MOBILE_SEARCH: 'mobileSearch'
}